﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Numeric;
namespace TamGiac
{
  public  class Diem
    {
        private float x;

        public float X
        {
            get { return x; }
            set { x = value; }
        }
        private float y;

        public float Y
        {
            get { return y; }
            set { y = value; }
        }
        public Diem(float p1, float p2)
        {
            x = p1;
            y = p2;
        }
        public void set(float p1, float p2)
        {
            x = p1;
            y = p2;
        }
    }
}
